package com.mzj.saas.mservice.propertybill.entity;


import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 调整账单明细
 */

@Entity
@Table(name = "saas_estate_adjust_bill")
public class EstateAdjustBill extends IdEntity {
    /*
     *原账单id
     */
    @Column(name = "bill_id", nullable = true)
    private Long billId;
    /*
     *房屋id
     */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /*
     *小区
     */
    @Column(name = "community_id", nullable = true)
    private String communityId;
    /*
     *楼栋
     */
    @Column(name = "building_num", nullable = true)
    private Long buildingNum;
    /*
     *单元
     */
    @Column(name = "unit", nullable = true)
    private Long unit;
    /*
     *房号
     */
    @Column(name = "room_number", nullable = true)
    private String roomNumber;
    /*
     *收款单位名
     */
    @Column(name = "org_name", nullable = true)
    private String orgName;
    /*
     *收款单位
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;

    /*
     *承租人id
     */
    @Column(name = "match_user_id", nullable = true)
    private String matchUserId;

   /*
     *调整金额
     */
    @Column(name = "adjust_cost", nullable = true)
    private Integer adjustCost;
   /*
     *调整后金额
     */
    @Column(name = "cost", nullable = true)
    private Integer cost;
   /*
     *调整时间
     */
    @Column(name = "completion_time", nullable = true)
    private Date completionTime;
   /*
     *操作人
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;
    /*
     *账单状态 ： 0未完成 1已完成
     */
    @Column(name = "status", nullable = true)
    private Integer status;
    /*
     *调整类型： 0补缴 1退款
     */
    @Column(name = "adjust_type", nullable = true)
    private Integer adjustType;

    /*
     *账单类型 1：租金押金 2其他费用
     */
    @Column(name = "bill_type", nullable = true)
    private Long billType;
    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public Date getCompletionTime() {
        return completionTime;
    }

    public void setCompletionTime(Date completionTime) {
        this.completionTime = completionTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getAdjustType() {
        return adjustType;
    }

    public void setAdjustType(Integer adjustType) {
        this.adjustType = adjustType;
    }

    public Long getBillId() {
        return billId;
    }

    public void setBillId(Long billId) {
        this.billId = billId;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }


    public Long getBuildingNum() {
        return buildingNum;
    }

    public void setBuildingNum(Long buildingNum) {
        this.buildingNum = buildingNum;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getMatchUserId() {
        return matchUserId;
    }

    public void setMatchUserId(String matchUserId) {
        this.matchUserId = matchUserId;
    }

    public Integer getAdjustCost() {
        return adjustCost;
    }

    public void setAdjustCost(Integer adjustCost) {
        this.adjustCost = adjustCost;
    }

    public Integer getCost() {
        return cost;
    }

    public void setCost(Integer cost) {
        this.cost = cost;
    }



    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Long getBillType() {
        return billType;
    }

    public void setBillType(Long billType) {
        this.billType = billType;
    }
}
